package com.unknowpupil.web.domain;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.unknowpupil.web.base.AbstractBaseDomain;
import lombok.Data;


@Table(name = "coin_account_info")
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
public class AccountInfo extends AbstractBaseDomain implements Serializable {

    /**
     * 用户名
     */
    @Column(name = "user_name")
    private String userName;

    /**
     * eth地址转账地址
     */
    @Column(name = "eth_address")
    private String ethAddress;

    /**
     * eth公钥
     */
    @Column(name = "eth_public_key")
    private String ethPublicKey;

    /**
     * eth私钥
     */
    @Column(name = "eth_private_key")
    private String ethPrivateKey;

    /**
     * btc地址转账地址
     */
    @Column(name = "btc_address")
    private String btcAddress;

    /**
     * btc公钥
     */
    @Column(name = "btc_public_key")
    private String btcPublicKey;

    /**
     * btc私钥
     */
    @Column(name = "btc_private_key")
    private String btcPrivateKey;

    /**
     * 助记词
     */
    @Column(name = "mnemonic_code")
    private String mnemonicCode;

    /**
     * 删除状态：0正常：1删除
     */
    @Column(name = "del_flag")
    private Integer delFlag;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Long userId;

    @Column(name = "file_name")
    private String fileName;
    private static final long serialVersionUID = 1L;
}
